package com.yunchang.springboot.mapper.base;

import com.yunchang.springboot.models.base.BaseReportInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author chenzw
 */
@Mapper
public interface BaseReportInfoMapper {
    /**
     * 获取全部数据
     *
     * @return
     */
    List<BaseReportInfo> selectAllData();

    BaseReportInfo selectOneById(@Param("id")Integer id);

    /**
     * 获得排除实时拉取的报告集合
     * @return
     */
    List<BaseReportInfo> selectDataWithoutRealTime();
}